package com.ynny.chapter14.mapper;

import com.ynny.chapter14.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    List<Student> login(Student student);

    List<Student> findAll();

    int add(Student student);

    int update(Student student);

    int delete(@Param("id") Integer id);

    List<Student> findOne(Student student);
}


